<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
	<h1 th:text="${host}">Hello World</h1>
	<div th:object="${user}">

	    <p>Name: <span th:text="*{userName}">Sebastian</span>.</p>
	
	    <p>Surname: <span th:text="${user.userName}">Pepper</span>.</p>

	</div>
	<table>
		<thead>
			<tr>
				<th th:text="${user.userName}">userName
				</th>
				<th th:text="${user.userPwd}">userPwd
				</th>
			</tr>
		</thead>
		<tbody>
			<tr th:each="user : ${list}">
				<td th:text="${user.userName}">userName</td>
				<td th:text="*{userPwd}">userPwd</td>
				<td th:text="${#numbers.formatDecimal(user.userAge,1,0)}">0.99</td>
			</tr>
		</tbody>
	</table>
</body>
</html>